Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Embedded C Interview Questions and Answers

Question: What is bit masking, and how is it used in embedded C?
Answer: Bit masking involves setting or clearing specific bits in a variable to enable or disable certain features, often used in register manipulation.

Example:

#define ENABLE_BIT  (1 << 3)  // Enable bit 3
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook